from typing import Optional
from fastapi import Query